home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextFieldSetMaxLength.z / XmTextFieldSetMaxLength
Encoding:
Text File  |  2003-11-18  |  2.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddSSSSeeeettttMMMMaaaaxxxxLLLLeeeennnnggggtttthhhh((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddSSSSeeeettttMMMMaaaaxxxxLLLLeeeennnnggggtttthhhh((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_F_i_e_l_d_S_e_t_M_a_x_L_e_n_g_t_h - A TextField    function that sets the
  10.       value    of the current maximum allowable length    of a text
  11.       string entered from the keyboard
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.       #include <Xm/TextF.h>
  15.  
  16.       void XmTextFieldSetMaxLength (wwwwiiiiddddggggeeeetttt,,,,    mmmmaaaaxxxx____lllleeeennnnggggtttthhhh)
  17.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  18.            _i_n_t     mmmmaaaaxxxx____lllleeeennnnggggtttthhhh;
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       _X_m_T_e_x_t_F_i_e_l_d_S_e_t_M_a_x_L_e_n_g_t_h sets the value of the    current
  22.       maximum allowable length of the text string in the TextField
  23.       widget.  The maximum allowable length    prevents the user from
  24.       entering a text string from the keyboard that    is larger than
  25.       this limit.  Strings that are    entered    using the _X_m_N_v_a_l_u_e (or
  26.       _X_m_N_v_a_l_u_e_W_c_s) resource, or the    _X_m_T_e_x_t_F_i_e_l_d_S_e_t_S_t_r_i_n_g (or
  27.       _X_m_T_e_x_t_F_i_e_l_d_S_e_t_S_t_r_i_n_g_W_c_s) function ignore this    resource.
  28.  
  29.       wwwwiiiiddddggggeeeetttt
  30.            Specifies the TextField widget ID
  31.  
  32.       mmmmaaaaxxxx____lllleeeennnnggggtttthhhh
  33.            Specifies the maximum allowable length of the text
  34.            string
  35.  
  36.       For a    complete definition of TextField and its associated
  37.       resources, see _X_m_T_e_x_t_F_i_e_l_d(_3_X).
  38.  
  39.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  40.       _X_m_T_e_x_t(_3_X), _X_m_T_e_x_t_F_i_e_l_d_S_e_t_S_t_r_i_n_g(_3_X),    and
  41.       _X_m_T_e_x_t_F_i_e_l_d_S_e_t_S_t_r_i_n_g_W_c_s(_3_X).
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.